<!DOCTYPE HTML>
<html>

<head>
    <title> 会员列表</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../../../assets/css/dpl-min.css" rel="stylesheet" type="text/css"/>
    <link href="../../../assets/css/bui-min.css" rel="stylesheet" type="text/css" />
    <link href="../../../assets/css/page-min.css" rel="stylesheet" type="text/css" />
    <link href="../../../assets/css/prettify.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div class="container">
        <div class="detail-page">
            <h3>会员收货地址</h3>
            <hr>
            <div class="detail-section">
                <div class="detail-row">
                    <form id="J_Form" class="form-horizontal well">
                        <div class="row ">
                            <div class="control-group span8">
                                <label class="control-label">姓名:</label>
                                <div class="controls">
                                    <input name="" type="text" class="control-text">
                                </div>
                            </div>
                            <div class="control-group span8">
                                <label class="control-label">企业名称:</label>
                                <div class="controls">
                                    <input name="sid" type="text" class="control-text">
                                </div>
                            </div>
                            <div class="control-group span16">
                                <label class="control-label">城市：</label>
                                <div class="controls bui-form-group-select" data-type="city">
                                    <select class=" ">
                                        <option>省份</option>
                                    </select>&nbsp;&nbsp;省&nbsp;&nbsp;
                                    <select class=" ">
                                        <option>城市</option>&nbsp;&nbsp;市&nbsp;&nbsp;
                                    </select>
                                </div>
                            </div>
                            <div class="control-group span2 pull-right">
                                <button type="submit" class="button  jx-button">搜索</button>
                            </div>
                        </div>
                    </form>
                    <!-- 表格 start-->
                    <div id="grid"></div>
                    <!-- 表格 end-->
                </div>
            </div>
        </div>
    </div>
    </div>
    <script type="text/javascript" src="../../../assets/js/jquery-1.8.1.min.js"></script>
    <script type="text/javascript" src="../../../assets/js/bui-min.js"></script>
    <script type="text/javascript" src="../../../assets/js/config-min.js"></script>
    <script type="text/javascript">
    BUI.use('common/page');
    </script>
    <!-- script start -->
    <script>
    BUI.use(['bui/grid', 'bui/data', 'bui/form'], function(Grid, Data, Form) {
        var Grid = Grid,
            Store = Data.Store,
            columns = [{
                title: '序号',
                dataIndex: 'a',
                elCls: 'center', //居中
                width: 100
            }, {
                title: '账户ID ',
                elCls: 'center',
                dataIndex: 'b',
                width: 200
            }, {
                title: '姓名（个人认证）',
                elCls: 'center',
                dataIndex: 'c',
                width: 100
            }, {
                title: '企业名称（企业认证）',
                elCls: 'center',
                dataIndex: 'd',
                width: 200
            }, {
                title: '收件人姓名',
                elCls: 'center',
                dataIndex: 'e',
                width: 100
            }, {
                title: '收件人手机',
                dataIndex: 'f',
                elCls: 'center',
                width: 100
            }, {
                title: '座机',
                dataIndex: 'g',
                elCls: 'center',
                width: 100
            }, {
                title: '省',
                dataIndex: 'h',
                elCls: 'center',
                width: 100
            }, {
                title: '市',
                dataIndex: 'i',
                elCls: 'center',
                width: 100
            }, {
                title: '区',
                dataIndex: 'j',
                elCls: 'center',
                width: 100
            }, {
                title: '详细地址',
                dataIndex: 'k',
                elCls: 'center',
                width: 200
            }, {
                title: '邮编',
                dataIndex: 'l',
                elCls: 'center',
                width: 100
            }],
            data = [{
                id: '1222',
                a: '121',
                b: 'JX478914751513',
                c: '陈晨',
                d: '上海激想体育文化股份有限公司',
                e: 'silence',
                f: '13898291341',
                g: '021-64647313',
                h: '上海市',
                i: '上海市',
                j: '长宁区',
                k: '长宁路351号33幢201',
                l: '022333'
            }, {
                id: '1222',
                a: '121',
                b: 'JX478914751513',
                c: '陈晨',
                d: '上海激想体育文化股份有限公司',
                e: 'silence',
                f: '13898291341',
                g: '021-64647313',
                h: '上海市',
                i: '上海市',
                j: '长宁区',
                k: '长宁路351号33幢201',
                l: '022333'
            }];
        var store = new Store({ //初始化数据
                data: data,
                pageSize: 2 // 配置分页数目
            }),
            grid = new Grid.Grid({
                render: '#grid',
                elCls: 'small-bui-grid-table',
                columns: columns,
                bbar: {
                    // pagingBar:表明包含分页栏
                    pagingBar: true
                },
                store: store
            }),
            form = new Form.Form({
                srcNode: '#J_Form'
            });
        form.render();
        grid.render();
    });
    </script>
    <body>
</html>
